package com.qingfeng.client.DO;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zhangyuefei
 * @version 1.0
 * @date 2020/1/6 6:41 下午
 */
@ApiModel(value = "商品信息")
@Data
public class GoodsInfoDo {

    @ApiModelProperty(value = "购物车id")
    private Long cartId;

    @ApiModelProperty(value = "单品id")
    private Long goodsId;

    @ApiModelProperty(value = "商品id")
    private Long goodsCommonId;

    @ApiModelProperty(value = "属性字符串")
    private String attrs;

    @ApiModelProperty(value = "购买数量")
    private int num;

    @ApiModelProperty(value = "可销售数量")
    private int canSellSize;

    @ApiModelProperty(value = "价格")
    private int price;

    @ApiModelProperty(value = "重量")
    private int weight;

    @ApiModelProperty(value = "商品代码")
    private String goodsCode;

    @ApiModelProperty(value = "商品类型")
    private Integer typeId;

    @ApiModelProperty(value = "商品图片")
    private String pic1;

    @ApiModelProperty(value = "店铺id")
    private Integer storeId;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "物流类型，1表示邮寄，2表示自提")
    private Integer logisticsType;

    @ApiModelProperty(value = "优惠金额")
    private Integer saveMoney;
}
